
{% extends "admin/common/layout.html" %}
{% block active %}menu{% endblock %}
{% block body %}
<h2>菜单管理</h2>
{% include "admin/common/flash.html" %}
{% include "admin/menu/nav.html" %}
<form class="form-horizontal" role="form" method="POST">
    <div class="form-group">
        <label for="url" class="col-sm-2 control-label">菜单URL</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="url" name="url" placeholder="请输入菜单URL" value="{{ menu.url }}">
        </div>
    </div>

    <div class="form-group">
        <label for="name" class="col-sm-2 control-label">名称</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="name" name="name" placeholder="请输入名称" value="{{ menu.name }}">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10" role="toolbar" aria-label="...">
            <div class="btn-group" role="group">
                <button type="submit" class="btn btn-default">保存</button>
            </div>
        </div>
    </div>
</form>
{% endblock %}
